<!-- body -->
    <div class="container nav-margin-top">
        <ol class="breadcrumb">
            <li><a href="details.php?cid=<?php echo $_GET['c']?>">« 返回本帖</a></li>
            <li class="active"><?php echo $web_title?></li>
        </ol>
        <form method="post">
        <div class="send">
        <?php if($_GET['w'] == 'reply'){ ?>
            <div class="send-title clearfix">
                <label class="l send-title-label">标题</label>
                <input type="hidden" id="sendtitle" value="标题不超过30个字符">
                <div class="l send-title-input input">
                    <?php if($isMain){echo 'Re:';}?>
                    <?php echo $rid['title']?>
                </div>
            </div>
         <?php }else{ 
            if($isMain){
         ?>
            <div class="send-title clearfix">
                <label for="sendtitle" class="l send-title-label">标题</label>
                <input type="text" name="title" ns-data="true" id="sendtitle" class="form-control input-sm l send-title-input" placeholder="标题不超过30个字符" value="<?php echo $isExistc['title']?>">
            </div>
         <?php }else{ ?>
            <div class="send-title clearfix">
                <label class="l send-title-label">标题</label>
                <input type="hidden" id="sendtitle" value="标题不超过30个字符">
                <div class="l send-title-input input">
                    <?php echo $isExistc['title']?>
                </div>
            </div>
        <?php }
            } ?>
            <div class="send-main clearfix">
                <div class="send-tool">
                    <div class="bq-zone">
            <?php foreach($bq_arr as $key => $val){?>
                        <a href="javascript:addsmile('[<?php echo $key?>]');"><img src="<?php echo $val?>"></a>
            <?php } ?>
                    </div>
                    <label class="send-tool-emoji" id="emoji" title="表情"></label>
                    <label class="send-tool-img" for="img" title="添加图片"></label>
                    <input type="file" id="img" class="hide">
                </div>
                <div class="glfj-out"><span id="glfj">管理图片(<b>0</b>)</span></div>
                <ul id="upload-zone" class="clearfix">
                    <span id="x" class="hand">x</span>
                    <li><span class="file-name icolor">文件名</span><span class="file-action">操作</span></li>
        <?php if($_GET['w'] == 'update'){ 
             foreach($file_arr as $file_path){ ?>
                <li><span class="file-name"><?php echo $file_path?></span><span onclick="del(this)" class="file-action hand">删除</span><input type="hidden" name="files[]" value="<?php echo $file_path?>"></li>
        <?php }
            } ?>
                </ul>
                <textarea id="sendcontent" onkeydown="tab(this)" name="body" ns-data="true" class="form-control send-text-input" placeholder="发布的内容..." rows="12"><?php if($_GET['w'] == 'update'){echo $isExistc['body'];}?></textarea>
                <button class="r" name="submit" id="send-btn">发布</button>
            </div>
        </div>
        </form>
    </div>
<script src="public/js/jquery.min.js"></script>
<script src="public/js/my-bootstrap.min.js"></script>
<script async src="public/js/publish.all.js"></script>

